package xyz.liuyuhe.StudySpring.ch10.convert;

import org.springframework.core.convert.converter.Converter;

public class MemberConverter implements Converter<String, Member>{

    @Override
    public Member convert(String source) {
        Member mem = new Member();
        mem.setName(source);
        return mem;
    }

}